home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
math
/
math.arc
/
CI-C86.MRG
< prev
next >
Wrap
Text File
|
1988-07-21
|
1KB
|
20 lines
/* Following changes 9/27/83 by R.L. Cunningham reduce problem */
/* with CI-C86 compiler redirection interfering with the same */
/* I/O redirection capability under PC-DOS 2.0 */
/* e.g. the command "lower {input.fil }output.fil" will invoke */
/* CI-C86 redirection , "lower <input.fil >output.fil" DOS re- */
/* direction. With these mods the CI-C86 redirection works fine */
/* (With DOS 1.1 it works O.K. with or without the */
/* mods; it doesn't sport a redirection capability to inter- */
/* with). Make these changes to a copy of "_main" from CLIBC.ARC */
/* then recompile the new _main, replace it in the CLIB.CL using */
/* the command "libr -u clib _main". Programs compiled hereafter*/
/* will differentiate I/O redirection between CI-C86 and DOS 2.0*/
/* if(*cp=='<')stdinf=cp+1; /* redirect stdin */
if(*cp=='{')stdinf=cp+1; /* redirect stdin */
/* else if(*cp=='>')stdoutf=cp+1; /* redirect stdout */
else if(*cp=='}')stdoutf=cp+1; /* redirect stdout */